Only panic() if the dom0 kernel requires an unknown feature flag.
authorIan.Campbell@xensource.com <Ian.Campbell@xensource.com>
Mon, 27 Feb 2006 10:55:13 +0000 (10:55 +0000)
committerIan.Campbell@xensource.com <Ian.Campbell@xensource.com>
Mon, 27 Feb 2006 10:55:13 +0000 (10:55 +0000)
It is acceptable for a guest kernel to support (but not require)
a feature which the hypervisor does not understand.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
xen/arch/x86/domain_build.c

index d381bb525473768547a5ff8e2f43ed123b2775f6..c6dd10baa0e48deed95dfaeb06d2596206814e9f 100644 (file)
@@ -181,7 +181,8 @@ static void parse_features(
         {
             printk("Unknown kernel feature \"%.*s\".\n",
                    (int)(p-feats), feats);
-            panic("Domain 0 requires an unknown hypervisor feature.\n");
+            if ( req )
+                panic("Domain 0 requires an unknown hypervisor feature.\n");
         }
 
         feats = p;